<?php
use Illuminate\Http\Request;

$api = app('Dingo\Api\Routing\Router');
$api->version('v1', ['namespace' => 'App\Http\Controllers\Api\V1'], function ($api) {
	$api->get('account/test', 'AccountController@test');
	$api->post('account/login', 'AccountController@login');
	$api->post('account/signup', 'AccountController@signup');
});

// Route::group(['prefix'=>'/v1', 'middleware' => ['api'], 'namespace' => 'Api\V1'], function () {
//     Route::post('/account/login','AccountController@login');
// });
